<!--
 * @Author: Aaron Huang
 * @Date: 2022-10-19 13:57:36
 * @LastEditors: Aaron Huang
 * @LastEditTime: 2022-11-15 13:32:55
 * @Description: file content
 * @FilePath: \ias_ui\src\views\coi\CBEC\index\index.vue
 * @Company: 沃尔玛
-->
<template>
  <SwitchingTable v-model="value" :component-list="componentList">
    <component :is="value" :menu-name="value" />
  </SwitchingTable>
</template>

<script>
import SwitchingTable from '@/views/coi/components/SwitchingTable'
import newProducts from '../components/addList.vue'
import safeguard from '../components/modifyList.vue'

export default {
  name: 'CBECOnlineBuildingTasksCBEC',
  components: {
    SwitchingTable,
    newProducts,
    safeguard
  },
  data() {
    return {
      value: 'newProducts',
      componentList: [
        {
          name: 'sku创建',
          id: 'newProducts'
        },
        {
          name: 'sku维护',
          id: 'safeguard'
        }
      ]
    }
  }
}
</script>
